/*
 * LightShadowMap.h
 *
 *  Created on: 10-07-2013
 *      Author: Jarek
 */

#ifndef LIGHTSHADOWMAP_H_
#define LIGHTSHADOWMAP_H_

#include "Shader.h"

class LightShadowMap : public Shader {
public:
	struct Uniforms
	{
		GLint modelViewProjectionMatrix;
	} uniforms;

	struct
	{
		GLint position;
	} attributes;

public:
	LightShadowMap(char* VSPath, char* FSPath);
	virtual ~LightShadowMap();

	virtual void useAttributes(bool isAtrributes = true);
	virtual void useShaderOnMesh(const Mesh& mesh);
	virtual void draw(const ETime& time, const World& world, Light& light);
	virtual void drawN(const ETime& time, Node& node, Light& light);

};

#endif /* LIGHTSHADOWMAP_H_ */
